package com.meng.system.mapper.auth;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.meng.system.domain.vo.SysUserVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author Xu Meng
 * @since 2021-01-14
 */
public interface SysUserMapper extends BaseMapper<SysUserVO> {

    List<SysUserVO> findUserList(@Param("search") String search, Page<SysUserVO> page);

    SysUserVO findUsernameByUser(@Param("loginName") String loginName);
}
